package com.rs.adminweb.admin.dao;

import com.rs.adminweb.admin.entity.AdminEntity;
import com.jaxplat.commons.Row;
import com.jaxplat.dao.JaxplatSupportDao;
import com.jaxplat.exceptions.GeneralException;

public interface AdminDao extends JaxplatSupportDao{

    /**
     * 分页需要 这里返回值设置为数组
     * @param param
     * @return
     * @throws GeneralException
     */
    public Object[] getUserList(Row param) throws GeneralException;
    
    public int deleteUser(Row param) throws GeneralException;
    
    public AdminEntity addUser(AdminEntity adminEntity) throws GeneralException;
    
    public int updateUser(AdminEntity adminEntity) throws GeneralException;
    
    public  Row login(AdminEntity adminEntity) throws GeneralException;
    public Row access(String cert,String date) throws GeneralException;
}
